package com.weishu.housing;

import com.weishu.common.security.annotation.EnableCustomConfig;
import com.weishu.common.security.annotation.EnableRyFeignClients;
import com.weishu.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;


/**
 * 房源模块
 *
 * @author weishu
 */

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringCloudApplication
@ComponentScan(basePackages = {"com.weishu"})
@MapperScan("com.weishu.core.mapper")
public class WeiShuHousingApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(WeiShuHousingApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  房源模块启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
